#include <stdio.h>

int fibo(int );

int main()
{
	int i = 0;
	printf("Please input a integer:\n");
	scanf("%d", &i);

	printf("The %d th fibonacci number w is: %d. \n", i, fibo_wrong(i));
	printf("The %d th fibonacci number r is: %d. \n", i, fibo(i));

	return 0;

}

int fibo_wrong(int i)
{
    if(i <= 1)
    	return 1;
    else
        fibo(i - 1) + fibo(i - 2);
}
int fibo(int i)
{
    if(i <= 1)
    	return 1;

    return fibo(i - 1) + fibo(i - 2);
}
